Kameleon-Plus  0.3.2
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ccmc::Vector< T > Class Template Reference

#include <Vector.h>

Inheritance diagram for ccmc::Vector< T >:
Inheritance graph
[legend]
Collaboration diagram for ccmc::Vector< T >:
Collaboration graph
[legend]

Public Member Functions

 Vector ()
 
 Vector (T c0, T c1, T c2)
 
length ()
 
Vector< T > operator+ (const Vector< T > &v) const
 
Vector< T > operator- (const Vector< T > &v) const
 
Vector< T > operator* (const T &value) const
 
Vector< T > operator/ (const T &value) const
 
void operator+= (const Vector< T > &v)
 
void operator-= (const Vector< T > &v)
 
void operator*= (const T &value)
 
void operator/= (const T &value)
 
void norm ()
 
virtual ~Vector ()
 
- Public Member Functions inherited from ccmc::Point< T >
 Point ()
 
 Point (T &c0, T &c1, T &c2)
 
void setComponents (T &c1, T &c2, T &c3)
 
const T & c0 ()
 
const T & c1 ()
 
const T & c2 ()
 
std::string toString ()
 
virtual ~Point ()
 

Static Public Member Functions

static T dot (Vector< T > &a, Vector< T > &b)
 
static T dot (Vector< T > *a, Vector< T > *b)
 
static Vector< T > cross (Vector< T > &a, Vector< T > &b)
 
static Vector< T > cross (Vector< T > *a, Vector< T > *b)
 
static void cross (Vector< T > &c, Vector< T > &a, Vector< T > &b)
 
static T triple (Vector< T > &a, Vector< T > &b, Vector< T > &c)
 
static Vector< T > norm (Vector< T > &a)
 
static Vector< T > norm (Vector< T > *a)
 
static T angle (Vector< T > &a, Vector< T > &b)
 
static void angle (T &angle, Vector< T > &a, Vector< T > &b)
 

Static Public Attributes

static Vector< T > dummy = Vector(0,0,0)
 

Additional Inherited Members

- Protected Attributes inherited from ccmc::Point< T >
components [3]
 

Constructor & Destructor Documentation

template<class T >
ccmc::Vector< T >::Vector ( )
template<class T>
ccmc::Vector< T >::Vector ( c0,
c1,
c2 
)
template<class T >
ccmc::Vector< T >::~Vector ( )
virtual

Member Function Documentation

template<class T>
T ccmc::Vector< T >::angle ( Vector< T > &  a,
Vector< T > &  b 
)
static
template<class T>
void ccmc::Vector< T >::angle ( T &  angle,
Vector< T > &  a,
Vector< T > &  b 
)
static

Here is the call graph for this function:

template<class T>
Vector< T > ccmc::Vector< T >::cross ( Vector< T > &  a,
Vector< T > &  b 
)
static

Here is the call graph for this function:

template<class T>
Vector< T > ccmc::Vector< T >::cross ( Vector< T > *  a,
Vector< T > *  b 
)
static

Here is the call graph for this function:

template<class T>
void ccmc::Vector< T >::cross ( Vector< T > &  c,
Vector< T > &  a,
Vector< T > &  b 
)
static

Here is the call graph for this function:

template<class T>
T ccmc::Vector< T >::dot ( Vector< T > &  a,
Vector< T > &  b 
)
static

Here is the call graph for this function:

template<class T>
T ccmc::Vector< T >::dot ( Vector< T > *  a,
Vector< T > *  b 
)
static

Here is the call graph for this function:

template<class T >
T ccmc::Vector< T >::length ( )
template<class T>
Vector< T > ccmc::Vector< T >::norm ( Vector< T > &  a)
static

Here is the call graph for this function:

template<class T>
Vector< T > ccmc::Vector< T >::norm ( Vector< T > *  a)
static

Here is the call graph for this function:

template<class T>
void ccmc::Vector< T >::norm ( )
template<class T>
Vector< T > ccmc::Vector< T >::operator* ( const T &  value) const
template<class T>
void ccmc::Vector< T >::operator*= ( const T &  value)
template<class T>
Vector< T > ccmc::Vector< T >::operator+ ( const Vector< T > &  v) const
template<class T>
void ccmc::Vector< T >::operator+= ( const Vector< T > &  v)
template<class T>
Vector< T > ccmc::Vector< T >::operator- ( const Vector< T > &  v) const
template<class T>
void ccmc::Vector< T >::operator-= ( const Vector< T > &  v)
template<class T>
Vector< T > ccmc::Vector< T >::operator/ ( const T &  value) const
template<class T>
void ccmc::Vector< T >::operator/= ( const T &  value)
template<class T>
T ccmc::Vector< T >::triple ( Vector< T > &  a,
Vector< T > &  b,
Vector< T > &  c 
)
static

Member Data Documentation

template<class T>
Vector< T > ccmc::Vector< T >::dummy = Vector(0,0,0)
static

The documentation for this class was generated from the following file: